<template>
  <div>demo2</div>
</template>

<script setup lang="ts">
import { ref, inject, onMounted } from "vue";
const eventBus: any = inject("eventBus");

eventBus.on("wwww", (val) => {
  console.log(val, "70000");
});
</script>

<style scoped></style>
